package com.yeban.base.day03.homework;

/**
 * @Desc TODO
 * @Author yeban
 * @Date 2025/9/27
 */
public class Test07 {

    public static void main(String[] args) {

        int day = 10;
        int number = 1;

        while(day > 1) {
            number = (number + 1) * 2;
            day --;
        }

        System.out.println("第一天的桃子有：" + number + "个");
    }
}
